﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 纸片人.AttributeUsageFloder
{

    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false,Inherited =false)]
    public class LastModifiedAttribute:Attribute
    {
        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime DateModified { get; }

        /// <summary>
        /// 修改信息
        /// </summary>
        public string Changes { get; }

        public LastModifiedAttribute(string date,string changes)
        {
            DateModified = DateTime.Parse(date);
            Changes = changes;
        }

    }
}
